Today, we published a new maintenance release of Hibernate ORM 6.2: 6.2.3.Final.
What’s new
This release includes several bug fixes and small performance improvements.
Hibernate Spatial
PostGIS distance operators
We have added HQL support for the native PostGIS distance operators. For details, see HHH-15160.
Bugfixes
Associated collection loading
We have fixed several bugs related to loading an entity’s associated collections:
Treated paths and entity types
We have improved Hibernate’s handling of treated entity types. Previously, in some cases, we were creating too restrictive queries for certain inheritance structures and treated paths. With this new logic we should always guarantee correct results while also gaining improved query optimization and performance (see HHH-15726).
Generics
We continue to improve support for Java Generics: we added handling for generic component properties (i.e. @Embedded
and @EmbeddedId
) that will allow the use of Generics while being consistent with the JPA specification and providing correct results (see HHH-16491).
There are more improvements and bugfixes included in this version. You can find the full list of changes here.
Conclusion
For additional details, see:
-
the User Guide
-
the Migration Guide
-
the release page.
Feedback, issues, ideas?
To get in touch, use the usual channels:
-
hibernate tag on Stack Overflow (usage questions)
-
User forum (usage questions, general feedback)
-
Issue tracker (bug reports, feature requests)
-
Mailing list (development-related discussions)